﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Create.Master" Inherits="System.Web.Mvc.ViewPage<Langben.DAL.buyPlan>" %>

<%@ Import Namespace="Common" %>
<%@ Import Namespace="Models" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CurentPlace" runat="server">
      创建 buyPlan
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <fieldset>
        <legend>
            <input class="a2 f2" type="submit" value="创建" />
            <input class="a2 f2" type="button" onclick="BackList('buyPlan')" value="返回" />
        </legend>
        <div class="bigdiv">
                 
            <div class="editor-label">
                <%: Html.LabelFor(model => model.planName) %>：
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.planName) %>
                <%: Html.ValidationMessageFor(model => model.planName) %>
            </div>        
            <div class="editor-label">
                <%: Html.LabelFor(model => model.buyType) %>：
            </div>
            <div class="editor-field">
                <%=Html.DropDownListFor(model => model.buyType,Models.SysFieldModels.GetSysField("buyPlan","buyType"),"请选择")%>  
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.agency) %>：
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.agency) %>
                <%: Html.ValidationMessageFor(model => model.agency) %>
            </div>        
            <div class="editor-label">
                <%: Html.LabelFor(model => model.isApprove) %>：
            </div>
            <div class="editor-field">
             <%: Html.RadioButtonListFor(model => model.isApprove,Models.SysFieldModels.GetSysField("buyPlan","isApprove"),false) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.financeNumber) %>：
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.financeNumber) %>
                <%: Html.ValidationMessageFor(model => model.financeNumber) %>
            </div>
            <br style="clear: both;" />
            <div class="editor-label">
                <%: Html.LabelFor(model => model.remark) %>：
            </div>
            <div class="textarea-box">
                <%: Html.TextAreaFor(model => model.remark) %>
                <%: Html.ValidationMessageFor(model => model.remark) %>
            </div>
        </div>
    </fieldset>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
    
    <script type="text/javascript">

        $(function () {
            

        });
              

    </script>
</asp:Content>

